﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Exhibition.Common.Helper;
using Exhibition.Service;

namespace Exhibition.Manage
{
    public partial class Base : System.Web.UI.MasterPage
    {
        public string table = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Request["Tb"]))
            {
                table = Request["Tb"];
            }
            if (MembershipService.GetUser() == null) {
                JsHelper.Redirect("../adminLogin.aspx", "iframe");
            }
        }
    }
}